/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Controller.Facade;

import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import javax.faces.validator.ValidatorException;

/**
 *
 * @author BBG
 */
public interface ValidaFacadeInterface {

   public void validateCpf(FacesContext context, UIComponent component, Object value, Class classeBO, boolean parar)throws ValidatorException;

   public void validateCnpj(FacesContext context, UIComponent component, Object value, Class classeBO, boolean parar) throws ValidatorException;

   public void validateNum(FacesContext context, UIComponent component, Object value, Class classeBO, boolean parar)throws ValidatorException;

   public void validateCampoUnico(FacesContext context, UIComponent component, Object value, Class classeBO, boolean parar) throws ValidatorException;

   
}
